import request from '@/utils/request'


export function linkList(query) {
  return request({
    url: '/standardCharges/list',
    method: 'get',
    params: query
  })
}


export function linkDelete(id) {
  return request({
    url: '/standardCharges/delete',
    method: 'get',
    params: {id}
  })
}

export function linkCreate(data) {
  return request({
    url: '/standardCharges/create',
    method: 'post',
    data
  })
}

export function linkUpdate(data) {
  return request({
    url: '/standardCharges/update',
    method: 'post',
    data
  })
}

export function chargeDetail(id) {
  return request({
    url: '/standardCharges/detail',
    method: 'get',
    params: {id}
  })
}

export function listCalculate(query) {
  return request({
    url: '/standardCharges/listCalculate',
    method: 'get',
    params: query
  })
}
